package net.zjitc.pojo;

/**
 * Created by Administrator on 2017/12/28.
 */
public class OrdersItem {
    private int id;
    private  int orders_id;
    private int items_id;
    private int items_num;
//
    private Item item;//一个详情，只有一个商品

    private Orders orders;//一个订单详情只属于一个订单


    public Orders getOrders() {
        return orders;
    }

    public void setOrders(Orders orders) {
        this.orders = orders;
    }

    public Item getItem() {
        return item;
    }

    public void setItem(Item item) {
        this.item = item;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrders_id() {
        return orders_id;
    }

    public void setOrders_id(int orders_id) {
        this.orders_id = orders_id;
    }

    public int getItems_id() {
        return items_id;
    }

    public void setItems_id(int items_id) {
        this.items_id = items_id;
    }

    public int getItems_num() {
        return items_num;
    }

    public void setItems_num(int items_num) {
        this.items_num = items_num;
    }
}
